home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 24
/
PC Gamer IT CD 24 1-2.iso
/
PATCHES
/
ZNPATCH.EXE
/
ZNPatch
/
Addon
/
subpatch.zfs
/
ac4h.scr
< prev
next >
Wrap
Text File
|
1997-06-04
|
11KB
|
246 lines
# THIS SCRIPT WAS GENERATED ON 04-03-1996 AT 22:33:59
world A # Asylum
room C # Examination Room
nodeview 4H # Nodeview 4H (1412)
# SCRIPT VERSION: 24.9
puzzle:26999 { # AUTO-PRELOAD-OF-ANIMATION
results {
action:animpreload:27063(ac4ga41c.avi 0 0 0 15)
}
flags {
DO_ME_NOW
ONCE_PER_INST
}
}
# PUZZLES
puzzle:6647 { # ac4h-ac4f_nav (open safe) 0
criteria {
[7007] = 1 # ac4h-ac4f
[6690] ! 0 # stomach jar
[6613] = 3 # state of safe
}
results {
action:assign(6613, 2) # state of safe
action:assign(7007, 0) # ac4h-ac4f
action:disable_control(6650) # close safe
action:disable_control(7007) # ac4h-ac4f
action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
background:playpreload:6661(27063 0 0 511 319 85 100 1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6649 { # ac4h-ac4f_nav (open safe) 1
criteria {
[6661] = 2 # close safe exit tag
}
results {
action:assign(6661, 0) # close safe exit tag
action:enable_control(6650) # close safe
action:enable_control(7007) # ac4h-ac4f
event:change_location(A,C,4F,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6651 { # close safe (empty) anim0
criteria {
[6690] ! 0 # stomach jar
[6650] = 1 # close safe
}
results {
action:assign(6650, 0) # close safe
action:assign(6613, 2) # state of safe
action:disable_control(7007) # ac4h-ac4f
action:disable_control(6650) # close safe
action:disable_control(6672) # get-drop stomach jar
action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
background:playpreload:6660(27063 0 0 511 319 85 100 1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6652 { # close safe (empty) anim1
criteria {
[6660] = 2 # close safe (jar) tag 2
}
results {
action:assign(6660, 0) # close safe (jar) tag 2
action:enable_control(6650) # close safe
action:enable_control(7007) # ac4h-ac4f
event:change_location(A,C,4G,0)
action:enable_control(6672) # get-drop stomach jar
}
flags {
ONCE_PER_INST
}
}
puzzle:6653 { # close safe (jar) anim0
criteria {
[6690] = 0 # stomach jar
[6650] = 1 # close safe
}
results {
action:assign(6650, 0) # close safe
action:assign(6613, 2) # state of safe
action:disable_control(6650) # close safe
action:disable_control(7007) # ac4h-ac4f
action:disable_control(6672) # get-drop stomach jar
action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
background:playpreload:6658(27063 0 0 511 319 31 56 1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6657 { # close safe (jar) anim1
criteria {
[6658] = 2 # close safe (jar) tag
}
results {
action:assign(6658, 0) # close safe (jar) tag
action:enable_control(7007) # ac4h-ac4f
action:enable_control(6650) # close safe
action:enable_control(6672) # get-drop stomach jar
event:change_location(A,C,4G,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6668 { # drop stomach jar puz
criteria {
[9] = 36
[6690] = 1 # stomach jar
[6672] = 1 # get-drop stomach jar
}
results {
action:assign(6690, 0) # stomach jar
action:assign(6672, 0) # get-drop stomach jar
action:assign(6668, 0) # drop stomach jar puz
action:inventory(drop 36)
action:set_screen(ac4gb31c.tga)
background:music:7297(0 ac4hh2tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6671 { # get stomach jar puz
criteria {
[9] = 0
[6690] = 0 # stomach jar
[6672] = 1 # get-drop stomach jar
}
results {
action:assign(6672, 0) # get-drop stomach jar
action:assign(6690, 1) # stomach jar
action:assign(6671, 0) # get stomach jar puz
action:inventory(add 36)
action:set_screen(ac4gb41c.tga)
background:music:7296(0 ac4hh1tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6977 { # ac4h-ac4f (safe jar) nav
criteria {
[7007] = 1 # ac4h-ac4f
[6613] = 3 # state of safe
[6690] = 0 # stomach jar
}
results {
action:assign(6613, 2) # state of safe
action:assign(7007, 0) # ac4h-ac4f
action:disable_control(6650) # close safe
action:disable_control(7007) # ac4h-ac4f
background:playpreload:6978(27063 0 0 511 319 31 56 1)
background:music:6979(0 ac4fq3tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6980 { # ac4h-ac4f (safe jar) nav 1
criteria {
[6978] = 2 # close safe (exit jar) tag
}
results {
action:assign(6978, 0) # close safe (exit jar) tag
action:enable_control(6650) # close safe
action:enable_control(7007) # ac4h-ac4f
event:change_location(A,C,4F,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:7008 { # INITIAL AC4H
criteria {
[6690] = 0 # stomach jar
}
results {
action:assign(7008, 1) # INITIAL AC4H
action:assign(7010, 1) # INITIAL AC4H 1
action:set_screen(ac4gb31c.tga)
action:enable_control(6650) # close safe
action:enable_control(7007) # ac4h-ac4f
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:7009 { # enable get-drop stomach
criteria {
[6690] < 2 # stomach jar
}
results {
action:enable_control(6672) # get-drop stomach jar
}
flags {
ONCE_PER_INST
}
}
puzzle:7010 { # INITIAL AC4H 1
criteria {
[6690] > 1 # stomach jar
}
results {
action:assign(7008, 1) # INITIAL AC4H
action:assign(7010, 1) # INITIAL AC4H 1
action:set_screen(ac4gb41c.tga)
action:disable_control(6672) # get-drop stomach jar
action:enable_control(6650) # close safe
action:enable_control(7007) # ac4h-ac4f
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
# CONTROLS
control:6650 push_toggle { # close safe
flat_hotspot(58,12,107,263)
cursor(active)
}
control:6672 push_toggle { # get-drop stomach jar
flat_hotspot(172,85,147,150)
cursor(handpu)
}
control:7007 push_toggle { # ac4h-ac4f
flat_hotspot(1,268,507,49)
cursor(backward)
}
# state 7486 has been reserved as a global variable (timer for safe)
# AUTO-BACKWARDS PUZZLES AND CONTROLS
control:25639 flat {
}